package com.lsh.payment.api.service.cmpay;

import com.lsh.payment.api.model.basevo.BaseResponse;
import com.lsh.payment.api.model.cmpay.CmActivateRequest;
import com.lsh.payment.api.model.cmpay.CmCheckInRequest;

import javax.servlet.http.HttpServletRequest;

/**
 * Project Name: lsh-payment
 *
 * @author peter
 * @date 16/11/7
 * 北京链商电子商务有限公司
 * Package
 * desc:
 */
public interface IcmRestService {
    /**
     * 回调接口
     * @param request  查询参数对象
     * @return     BaseResponse    返回结果对象
     */
    String notify(HttpServletRequest request);

    /**
     * 激活接口
     * @param activateRequest  查询参数对象
     * @return     BaseResponse    返回结果对象
     */
    BaseResponse activate(CmActivateRequest activateRequest);

    /**
     * 激活接口
     * @param checkInRequest  查询参数对象
     * @return     BaseResponse    返回结果对象
     */
    BaseResponse checkin(CmCheckInRequest checkInRequest);
}
